package dao.impl;

import dao.BaseDao;
import dao.DishesDao;
import pojo.Dishes;

import java.util.List;

public class DishesDaoImpl extends BaseDao implements DishesDao  {

    @Override
    public List<Dishes> findBusDishes(String bus_no) {
        String sql="select * from dishes where bus_no=?";
        return baseQuery(Dishes.class,sql,bus_no);
    }
}
